package com.ruoyi.buss.report.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.buss.report.mapper.ReportKhqsfxCdhsLsbMapper;
import com.ruoyi.buss.report.domain.ReportKhqsfxCdhsLsb;
import com.ruoyi.buss.report.service.IReportKhqsfxCdhsLsbService;

/**
 * 客户存贷户数趋势分析Service业务层处理
 * 
 * @author sxy
 * @date 2021-07-16
 */
@Service
public class ReportKhqsfxCdhsLsbServiceImpl implements IReportKhqsfxCdhsLsbService 
{
    @Autowired
    private ReportKhqsfxCdhsLsbMapper reportKhqsfxCdhsLsbMapper;

    /**
     * 查询客户存贷户数趋势分析
     * 
     * @param sjrq 客户存贷户数趋势分析ID
     * @return 客户存贷户数趋势分析
     */
    @Override
    public ReportKhqsfxCdhsLsb selectReportKhqsfxCdhsLsbById(String sjrq)
    {
        return reportKhqsfxCdhsLsbMapper.selectReportKhqsfxCdhsLsbById(sjrq);
    }

    /**
     * 查询客户存贷户数趋势分析列表
     * 
     * @param reportKhqsfxCdhsLsb 客户存贷户数趋势分析
     * @return 客户存贷户数趋势分析
     */
    @Override
    public List<ReportKhqsfxCdhsLsb> selectReportKhqsfxCdhsLsbList(ReportKhqsfxCdhsLsb reportKhqsfxCdhsLsb)
    {
        return reportKhqsfxCdhsLsbMapper.selectReportKhqsfxCdhsLsbList(reportKhqsfxCdhsLsb);
    }

    /**
     * 新增客户存贷户数趋势分析
     * 
     * @param reportKhqsfxCdhsLsb 客户存贷户数趋势分析
     * @return 结果
     */
    @Override
    public int insertReportKhqsfxCdhsLsb(ReportKhqsfxCdhsLsb reportKhqsfxCdhsLsb)
    {
        return reportKhqsfxCdhsLsbMapper.insertReportKhqsfxCdhsLsb(reportKhqsfxCdhsLsb);
    }

    /**
     * 修改客户存贷户数趋势分析
     * 
     * @param reportKhqsfxCdhsLsb 客户存贷户数趋势分析
     * @return 结果
     */
    @Override
    public int updateReportKhqsfxCdhsLsb(ReportKhqsfxCdhsLsb reportKhqsfxCdhsLsb)
    {
        return reportKhqsfxCdhsLsbMapper.updateReportKhqsfxCdhsLsb(reportKhqsfxCdhsLsb);
    }

    /**
     * 批量删除客户存贷户数趋势分析
     * 
     * @param sjrqs 需要删除的客户存贷户数趋势分析ID
     * @return 结果
     */
    @Override
    public int deleteReportKhqsfxCdhsLsbByIds(String[] sjrqs)
    {
        return reportKhqsfxCdhsLsbMapper.deleteReportKhqsfxCdhsLsbByIds(sjrqs);
    }

    /**
     * 删除客户存贷户数趋势分析信息
     * 
     * @param sjrq 客户存贷户数趋势分析ID
     * @return 结果
     */
    @Override
    public int deleteReportKhqsfxCdhsLsbById(String sjrq)
    {
        return reportKhqsfxCdhsLsbMapper.deleteReportKhqsfxCdhsLsbById(sjrq);
    }
}
